package com.springBoot.springBootSysCore.modules.entity.system;

import com.springBoot.springBootSysCore.common.comment.annotation.MyComment;
import com.springBoot.springBootSysCore.common.persistence.DataEntity;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * Created by timo on 2017/11/27.
 */
@Table(name = "sys_feed")
@Entity
@MyComment("意见反馈")
public class SysFeedBack extends DataEntity<SysFeedBack>{
    private String lable;//标签
    private String content;//内容

    @Lob
    @NotNull
    public String getLable() {
        return lable;
    }

    public void setLable(String lable) {
        this.lable = lable;
    }
    @Lob
    @NotNull
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
